﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KDSugar.Galaxy.API.SaveOrDraft
{
    /// <summary>
    /// 保存/暂存返回包装类
    /// </summary>
    public class SaveOrDraftReturnInfo
    {
        /// <summary>
        /// 保存/暂存返回信息
        /// </summary>
        public SaveOrDraftResultInfo Result { get; set; }

        /// <summary>
        /// 保存/暂存返回信息类
        /// </summary>
        public class SaveOrDraftResultInfo
        {
            /// <summary>
            /// 返回状态信息
            /// </summary>
            public Base.Result.ResponseStatusInfo ResponseStatus { get; set; }

            /// <summary>
            /// 返回单据内码
            /// </summary>
            public long Id { get; set; }

            /// <summary>
            /// 返回单据编号
            /// </summary>
            public string Number { get; set; }

            /// <summary>
            /// 返回结果集合
            /// </summary>
            public List<Dictionary<string,object>> NeedReturnData { get; set; }
        }
    }
}
